package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 租户管理对象 pro_tenant_info
 * 
 * @author sux
 * @date 2021-06-27
 */
public class TenantInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租户编号 */
    private String tenantId;

    /** 租户名称或单位 */
    @Excel(name = "租户名称或单位")
    private String tenantName;

    /** 租户楼层 */
    @Excel(name = "租户楼层")
    private String tenantFloor;

    /** 租户面积 */
    @Excel(name = "租户面积(平方米)")
    private BigDecimal tenantArea;

    /** 空关面积 */
    @Excel(name = "空关面积(平方米)")
    private BigDecimal emptyArea;

    /** 租赁时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tenantTime;

    /** 租赁到期时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁到期时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tenantEndTime;

    /** 收费（0物管费,1水费,2照明费,3动力费,4公用电费,5空调电费,6空调油费） */
    @Excel(name = "收费", readConverterExp = "0=物管费,1=水费,2=照明费,3=动力费,4=公用电费,5=空调电费,6=空调油费")
    private String charges;

    /** 电表（0=A表,1=B表,2=C表,3=D表） */
    @Excel(name = "电表", readConverterExp = "0=A表,1=B表,2=C表,3=D表")
    private String ammeter;

    @Excel(name = "序号")
    private int serialNumber;

    /** 状态（0停用 1正常 2异常 3临期） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=临期,2=到期,3=异常")
    private String tenantStatus;

    /** 收费系数(默认为1.000）*/
    @Excel(name = "收费系数")
    private Double chargeCoefficient;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public Double getChargeCoefficient() {
        return chargeCoefficient;
    }

    public void setChargeCoefficient(Double chargeCoefficient) {
        this.chargeCoefficient = chargeCoefficient;
    }

    public int getSerialNumber() {
        return serialNumber;
    }

    public void setSerialNumber(int serialNumber) {
        this.serialNumber = serialNumber;
    }

    public String getAmmeter() {
        return ammeter;
    }

    public void setAmmeter(String ammeter) {
        this.ammeter = ammeter;
    }

    public BigDecimal getEmptyArea() {
        return emptyArea;
    }

    public void setEmptyArea(BigDecimal emptyArea) {
        this.emptyArea = emptyArea;
    }

    public String getCharges() {
        return charges;
    }

    public void setCharges(String charges) {
        this.charges = charges;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public void setTenantName(String tenantName)
    {
        this.tenantName = tenantName;
    }

    public String getTenantName() 
    {
        return tenantName;
    }
    public void setTenantFloor(String tenantFloor) 
    {
        this.tenantFloor = tenantFloor;
    }

    public String getTenantFloor() 
    {
        return tenantFloor;
    }
    public void setTenantArea(BigDecimal tenantArea) 
    {
        this.tenantArea = tenantArea;
    }

    public BigDecimal getTenantArea() 
    {
        return tenantArea;
    }
    public void setTenantTime(Date tenantTime) 
    {
        this.tenantTime = tenantTime;
    }

    public Date getTenantTime() 
    {
        return tenantTime;
    }

    public Date getTenantEndTime() {
        return tenantEndTime;
    }

    public void setTenantEndTime(Date tenantEndTime) {
        this.tenantEndTime = tenantEndTime;
    }

    public void setTenantStatus(String tenantStatus)
    {
        this.tenantStatus = tenantStatus;
    }

    public String getTenantStatus() 
    {
        return tenantStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return "TenantInfo{" +
                "tenantId='" + tenantId + '\'' +
                ", tenantName='" + tenantName + '\'' +
                ", tenantFloor='" + tenantFloor + '\'' +
                ", tenantArea=" + tenantArea +
                ", emptyArea=" + emptyArea +
                ", tenantTime=" + tenantTime +
                ", tenantEndTime=" + tenantEndTime +
                ", charges='" + charges + '\'' +
                ", ammeter='" + ammeter + '\'' +
                ", serialNumber=" + serialNumber +
                ", tenantStatus='" + tenantStatus + '\'' +
                ", chargeCoefficient=" + chargeCoefficient +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
